package com.ihd.ihardware.pojo;

import java.io.Serializable;
import java.util.List;

import cn.wowjoy.commonlibrary.bean.BaseResponse;
import cn.wowjoy.commonlibrary.utils.DateUtils;

public class WeightTrendsRes extends BaseResponse<List<WeightTrendsRes.DataBean>> implements Serializable {

    public static class DataBean implements Serializable {
        /**
         * id : string
         * time : string
         * weight : string
         */

        private String id;
        private String time;
        private String weight;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getTime() {
            return DateUtils.getFormateTime(time, "yyyy-MM-dd");
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getWeight() {
            return weight;
        }

        public void setWeight(String weight) {
            this.weight = weight;
        }
    }
}
